/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 * @format
 */

h1.title {
  font-size: 4rem;
  font-weight: 400;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  margin: 0;
  padding: 0;
}

.contentRow {
  position: relative;
  padding: 2rem;
  color: var(--ifm-color-gray-0);
  clear: both;
  width: 95%;
  max-width: 1100px;
  display: flex;
  align-items: center;
  text-align: left;
  flex-direction: row;
  margin: 0 auto 3rem;
  box-sizing: border-box;
}

.wideContentRow {
  position: relative;
  padding: 2rem;
  color: var(--ifm-color-gray-0);
  clear: both;
  width: 95%;
  max-width: 1100px;
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 0 auto 8rem;
  box-sizing: border-box;
}

.firstRow {
  margin-top: 8rem;
}

.lastRow {
  margin-bottom: 10rem;
}

.content {
  display: flex;
  width: 100%;
  flex-direction: column;
}

.wideContent {
  display: flex;
}

.odd {
  flex-direction: row-reverse;
}

.video {
  padding: 15px;
  border-radius: 20px;
  background-color: #000;
  max-width: 300px;
  width: 30vw;
  min-height: min(60vw, 600px);
  margin-left: 120px;
  box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.4);
}

.wideVideo {
  padding: 15px;
  background-color: #000;
  margin-top: 32px;
  box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.4);
}

.odd .video {
  margin-left: 0px;
}

.noMargin {
  margin: 0;
}

.message {
  font-size: 2.2rem;
  line-height: 2.5rem;
  text-align: left;
  font-weight: 600;
  margin-left: 0px;
  margin-right: auto;
}

.odd .message {
  margin-left: 120px;
}

.heading {
  font-size: 2.5rem;
  line-height: 3rem;
}

.button {
  display: inline-block;
  font-size: 0.9rem;
  min-height: 3rem;
  line-height: 3rem;
  border-radius: 1.5rem;
  color: #fff;
  background-color: #000;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  padding: 0 3rem;
  margin-top: 2rem;
}

.buttonWrapper {
  margin-left: 0px;
  margin-right: auto;
  display: inline-block;
  text-decoration: none;
}

.appStoreButtonRow {
  display: flex;
  flex-direction: row;
  margin-top: 11px;
  margin-left: -10px; /* offset Play Store badge padding */
}

.appStoreButtonRow img {
  max-width: none; /* unset 100% for button images */
}

.googlePlayButtonWrapper {
  text-decoration: none;
}

.googlePlayBadge {
  width: 155px;
  height: 60px;
}

.appStoreButtonWrapper {
  margin-left: 11px;
  margin-top: 10px;
  text-decoration: none;
  vertical-align: top;
}

.appStoreBadge {
  width: 120px;
  height: 40px;
}

.odd .buttonWrapper {
  margin-left: 120px;
}

.buttonWrapper:hover .button {
  background-color: #6200ea;
}

.balloon {
  position: fixed;
  top: 50%;
  right: 0;
  width: 0vh;
  height: 0vh;
  border-radius: 0vh;
  opacity: 0.8;
  background-image: radial-gradient(
      ellipse 100% 20% at 100% 0%,
      #ee4c2cff 0%,
      #ee4c2c00 60%
    ),
    radial-gradient(ellipse 100% 60% at 70% 10%, #812ce5ff 0%, #812ce566 30%),
    radial-gradient(
      farthest-corner at 0% 70%,
      #6200eaff 0%,
      #6200eaff 30%,
      #e93b4300 60%
    ),
    radial-gradient(farthest-corner at 100% 80%, #4a6bc7ff 0%, #4a6bc700 30%);
}

/* Tablet */
@media only screen and (max-width: 1024px) and (min-device-width: 813px) {
  .message,
  .buttonWrapper,
  .video,
  .odd .message,
  .odd .buttonWrapper,
  .odd .video {
    margin-left: 20px;
  }

  h1.title {
    font-size: 6vw;
  }

  .beta {
    top: -1.2rem;
  }

  .message {
    font-size: 4.8vw;
    line-height: 5.5vw;
  }

  .googlePlayButtonWrapper {
    margin-left: 20px;
  }
}

/* Mobile */
@media only screen and (max-device-width: 812px) {
  .contentRow {
    flex-direction: column-reverse;
  }

  .message,
  .video,
  .buttonWrapper,
  .odd .message,
  .odd .video,
  .odd .buttonWrapper {
    margin-left: auto;
    margin-right: auto;
    align-self: center;
    text-align: center;
    align-self: center;
  }

  .buttonWrapper {
    width: 100%;
  }

  .appStoreButtonRow {
    justify-content: center;
    margin-left: 0;
  }

  .button {
    padding: 0 1.5rem;
  }

  .video {
    width: 50vw;
  }

  h1.title {
    font-size: 11vw;
  }

  .firstRow {
    margin-top: 5vh;
    flex-direction: column;
  }

  .firstRow .video {
    margin-top: 5vh;
  }

  .titleWrapper {
    top: -10vh;
    left: 10vw;
  }

  .video {
    padding: 10px;
    border-radius: 20px;
  }

  .heading,
  .message {
    font-size: 1.6rem;
    line-height: 2rem;
    margin-top: 2rem;
  }
}
